package com.vanke.vms.management.service.serviceImpl;

import com.vanke.vms.common.domain.User;
import com.vanke.vms.management.dao.LoginDao;
import com.vanke.vms.management.service.LoginService;

public class LoginServiceImpl implements LoginService {

	private LoginDao loginDao;

	@Override
	public User getUser(String username) {
		return loginDao.getUser(username);
	}
	
	public void setForgetPass(String username){
		loginDao.setForgetPass(username);
	}
	
	public void setValidate(User user){
		loginDao.setValidate(user);
	}

	public LoginDao getLoginDao() {
		return loginDao;
	}

	public void setLoginDao(LoginDao loginDao) {
		this.loginDao = loginDao;
	}
}
